package com.hunttown.mes.rpc.api;

import java.util.Map;

/**
 * created by wangjunfu on 2020-05-08
 */
public interface TransactionRpcService {
    Integer createApplyWithout(String businessName, String tableName, Integer recordId, Integer createPeople, Map<String, String> map);

    Boolean insertWfLine(Integer businessId, Integer applyId, Integer createPeople, Map<String, String> map);

    void setExector(Integer applyId, Map<Integer, Integer> replaceMap);

    void setManageApply(Integer applyId, Integer nodeSort, Integer isAuto);

    Boolean approvelApply(Integer id, Integer status, String remark, Integer approvel, Integer addApprove, Integer backLineId);

    void autoApply(Integer businessId, Integer applyId, Integer nodeSign, Integer adminId);

    void autoApply(Integer businessId, Integer applyId, Integer nodeSign, String remark, Integer adminId);

    void autoApplyFirstNode(Integer applyId, Integer status, Integer adminId);

    void autoApplyCurrNode(Integer applyId, Integer status, Integer adminId);
}
